package com.zcx.qshop.conn;

import org.json.JSONObject;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

@HttpInlet(Conn.INLET_JSON_ADDRESSADD)
public class JsonAddressaddAsyGet extends QSAsyGet {
	
	public String uid, name, mobile, citycode, address, type;


	public JsonAddressaddAsyGet(String uid, String name, String mobile, String citycode, String address, String type, AsyCallBack asyCallBack) {

		super(asyCallBack);

		this.uid = uid;
		
		this.name = name;
		
		this.mobile = mobile;
		
		this.citycode = citycode;
		
		this.address = address;
		
		this.type = type;
		
 	} 
	
	@Override
	public Object parser(JSONObject object) {
		
		if(object.optString("message").equals("1")){
			
			return "";
			
		}
		
		return null;
		
	}

}
